package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家庭成员对象 edu_relative
 * 
 * @author ruoyi
 * @date 2024-03-11
 */
public class EduRelative extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家庭成员ID */
    private Long relativeId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String relativeName;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 关系 */
    @Excel(name = "关系")
    private String relationship;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    public void setRelativeId(Long relativeId) 
    {
        this.relativeId = relativeId;
    }

    public Long getRelativeId() 
    {
        return relativeId;
    }
    public void setRelativeName(String relativeName) 
    {
        this.relativeName = relativeName;
    }

    public String getRelativeName() 
    {
        return relativeName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setRelationship(String relationship) 
    {
        this.relationship = relationship;
    }

    public String getRelationship() 
    {
        return relationship;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("relativeId", getRelativeId())
            .append("relativeName", getRelativeName())
            .append("sex", getSex())
            .append("relationship", getRelationship())
            .append("studentId", getStudentId())
            .toString();
    }
}
